import 'package:flutter_deer/generated/json/base/json_convert_content.dart';
import 'package:flutter_deer/index/models/com_code_entity.dart';

CodeMapEntity $CodeMapEntityFromJson(
    Map<String, dynamic> json) {
  final CodeMapEntity idEntity = CodeMapEntity();
  final String? name =
      jsonConvert.convert<String>(json['name']);
  if (name != null) {
    idEntity.name = name;
  }

  return idEntity;
}

Map<String, dynamic> $CodeMapEntityToJson(
    CodeMapEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['name'] = entity.name;

  return data;
}


